package springbook.user.dao;

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;

public class DConnectionMaker implements ConnectionMaker {

	@Override
	public Connection makeConnection() throws ClassNotFoundException,
			SQLException {
		System.out.println(this.getClass().getName()+".makeConnection()");
		Class.forName("oracle.jdbc.OracleDriver");
		Connection c = DriverManager.getConnection("jdbc:oracle:thin:@oracle.villageyouth.cafe24.com:1521:orcl"
				,"villageyouth","showprice18");
		return c;
	}

}
